using FytSoa.Common.Enum;

namespace FytSoa.Application.Erp.Param;

/// <summary>
/// 变更阶段参数
/// </summary>
public class ErpProducePhaseParam
{
    public List<long> Ids { get; set; }

    public ErpProducePhaseEnum Phase { get; set; }

    /// <summary>
    /// 如果为关闭，则需要填写关闭原因
    /// </summary>
    public string Remark { get; set; }
}

/// <summary>
/// 变更阶段参数
/// </summary>
public class ErpProduceControlParam
{
    public long Id { get; set; }

    public ErpProduceStatusEnum Status { get; set; }

    /// <summary>
    /// 驳回后，至对应的工艺流程
    /// </summary>
    public long Craft { get; set; } = 0;

    /// <summary>
    /// 如果是驳回，需要填写原因
    /// </summary>
    public string Cause { get; set; }
}